package com.eqxiu.ieditor.application;



import org.apache.log4j.Logger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.*;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author suixiangyu
 */
@SpringBootApplication
@ImportResource(locations = {"classpath:dubbo-consumer.xml"})
@EnableTransactionManagement
@ComponentScan("com.eqxiu")
@EnableAsync
public class Application {
    private static final Logger logger = Logger.getLogger(Application.class);

    public static void main(String[] args) {
        SpringApplication.run(Application.class,args);
        logger.info("Mall IEditor Application Start Success!");
    }


}
